package org.jeecg.modules.workservice.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * 类名称：WorkOrderUserVo
 * 类描述：分配工单Vo
 * 创建人：zwr
 * 创建时间：2021-08-28   11:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class WorkOrderUserVo {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号；UUID")
    private String id;
    @ApiModelProperty(value = "姓名")
    private String username;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "是否为负责人")
    @Dict(dicCode = "userType")
    private Integer userType;

}
